﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WfhTrader.Core.Trading
{
    /// <summary>
    /// 账户基类
    /// </summary>
    public abstract class Account
    {
        /// <summary>
        /// 所属经纪商
        /// </summary>
        public Broker Broker { get; protected set; }

        /// <summary>
        /// 用途（真实/模拟）
        /// </summary>
        public PurposeType PurposeType { get; protected set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string AccountNumber { get; protected set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; protected set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Remark { get; protected set; }

        /// <summary>
        /// 获取交易接口
        /// </summary>
        public abstract ITrade Trade { get; }
    }
}
